package com.bls.productmall.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.bls.productmall.entity.Product;
import com.bls.productmall.vo.R;

import java.util.List;

public interface ProductService extends IService<Product> {
    R getProductList(int current, int size);

    R getProductByTitle(String title,int current, int size);

    int addProduct(Product product);

    int deleteProduct(int productId);

    int updateProduct(Product product);
}
